<?php $specials = $form->getObject() ?>
<h1><?php echo $specials->isNew() ? __("New Specials") : __("Edit Specials")?></h1>

<form action="<?php echo url_for('specials/update'.(!$specials->isNew() ? '?specials_id='.$specials->getSpecialsId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          &nbsp;<a href="<?php echo url_for('specials/index') ?>"><?php echo __("Cancel") ?></a>
          <?php if (!$specials->isNew()): ?>
            &nbsp;<?php echo link_to('Delete', 'specials/delete?specials_id='.$specials->getSpecialsId(), array('post' => true, 'confirm' => 'Are you sure?')) ?>
          <?php endif; ?>
          <input type="submit" value=<?php echo __("Save") ?>  />
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form->renderGlobalErrors() ?>
      <tr>
        <th><?php echo $form['products_id']->renderLabel() ?></th>
        <td>
          <?php echo $form['products_id']->renderError() ?>
          <?php echo $form['products_id'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['specials_new_products_price']->renderLabel() ?></th>
        <td>
          <?php echo $form['specials_new_products_price']->renderError() ?>
          <?php echo $form['specials_new_products_price'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['expires_date']->renderLabel() ?></th>
        <td>
          <?php echo $form['expires_date']->renderError() ?>
          <?php echo $form['expires_date'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['status']->renderLabel() ?></th>
        <td>
          <?php echo $form['status']->renderError() ?>
          <?php echo $form['status'] ?>
          <?php echo $form['specials_id'] ?>
        </td>
      </tr>
    </tbody>
  </table>
</form>
